let express = require("express");
let fs = require("fs");
let router = express.Router();

router.get("/game",(request,response)=>{
    let data = JSON.parse(fs.readFileSync("./data/index.json"));

    response.render("index.ejs",data);
})



module.exports = router;